Skip to content

Rescope Logger::Levels enum so it can be moved to envoy/ directory - #46668

Merged
yanavlasov merged 2 commits into
envoyproxy:mainfrom
yanavlasov:rescope-logger-enum
Aug 12, 2026
Merged

Rescope Logger::Levels enum so it can be moved to envoy/ directory#46668
yanavlasov merged 2 commits into
envoyproxy:mainfrom
yanavlasov:rescope-logger-enum

Conversation

@yanavlasov

@yanavlasov yanavlasov commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The main change is in the source/common/common/base_logger.h, moving the Levels enum out of the Logger class into the outer Logger namespace.

This is intermediate step to using this enum in Envoy's interfaces in the envoy/ directory. This will prevent leaking of the spdlog dependency to proprietary components that need to manipulate Envoy's log level programmatically.

Risk Level: low
Testing: unit tests
Docs Changes: no
Release Notes: no
Platform Specific Features: no

@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #46668 was opened by yanavlasov.

see: more, trace.

@yanavlasov
yanavlasov force-pushed the rescope-logger-enum branch 4 times, most recently from ca0a77e to de613df Compare August 12, 2026 20:55
Signed-off-by: Yan Avlasov <yavlasov@google.com>
@yanavlasov
yanavlasov force-pushed the rescope-logger-enum branch from de613df to fbdd751 Compare August 12, 2026 21:12
Signed-off-by: Yan Avlasov <yavlasov@google.com>
@yanavlasov
yanavlasov marked this pull request as ready for review August 12, 2026 21:48
@yanavlasov
yanavlasov enabled auto-merge (squash) August 12, 2026 21:49
@yanavlasov yanavlasov changed the title Rescope Logger::Levels enum so it can be moved envoy/ directory Rescope Logger::Levels enum so it can be moved to envoy/ directory Aug 12, 2026
@yanavlasov
yanavlasov merged commit 1f6d326 into envoyproxy:main Aug 12, 2026
28 checks passed
@yanavlasov
yanavlasov deleted the rescope-logger-enum branch August 13, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants